package com.wang.demo06;

/**
 * @Author 19225
 * @create 2021/1/14 23:06
 */
public class Client {
    public static void main(String[] args) {
        UserImpl user = new UserImpl();
        UserInvocationHandler uih = new UserInvocationHandler();
        uih.setUser(user);
        User proxy = (User) uih.getProxy();
        proxy.zhu();
    }
}
